package com.meizitu.entity;

/**
 * 图片
 *
 * @author zhouinfo
 * @Create Date 2016-07-31 14:56
 */
public class Image {

    private String name;        //图片名 ***.jpg
    private String url;         //图片url
    private String savaPath;    //图片保存地址 F:\\meizitu\\<<alt>>\\AAA.jpg
    private String size;
    private String alt;         //图片链接中提取出来的alt

    public Image() {

    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Image{");
        sb.append("name='").append(name).append('\'').append('}');
        return sb.toString();
    }

    public Image(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getSavaPath() {
        return savaPath;
    }

    public void setSavaPath(String savaPath) {
        this.savaPath = savaPath;
    }

    public String getAlt() {
        return alt;
    }

    public void setAlt(String alt) {
        this.alt = alt;
    }
}
